//logs.js
const app = getApp();
const util = require('../../utils/util.js');
const {
  $Toast
} = require('../../dist/base/index');
Page({
  data: {
    tip: "",
    loading: false,
    result: [],
		checkStatus: true
  },
  onLoad: function(options) {
    this.checkStatus();
  },
	checkStatus: function () {
		var that = this;

		wx.request({
			url: util.basePath + '/article/v1/checkStatus',
			method: "post",
			data: {

			},
			header: {
				'content-type': 'application/json'
			},
			success(res) {
				console.log(res);
				if (res.data.status == 200) {

				} else {
					that.setData({ checkStatus: false });
				}
			}
		});
	}
});